package com.yishuki.bluewhale;

import java.io.File;

public class Constant {
	/**
	 * the default system properties file
	 */
	public static String PROJECT_PROPERTIES = "conf"+File.separator+"project.properties";
	/**
	 * the permission id of the admin group
	 */
	public static long PERMISSION_ADMIN_ID = 1L;
	/**
	 * the permission id of the seller group
	 */
	public static long PERMISSION_SELLER_ID = 2L;
	/**
	 * the permission id of the buyer group
	 */
	public static long PERMISSION_BUYER_ID = 3L;
	/**
	 * the permission mask of the admin group
	 */
	public static int PERMISSION_ADMIN_MASK = 65535;
	/**
	 * the permission mask of the seller group
	 */
	public static int PERMISSION_SELLER_MASK = 3;
	/**
	 * the permission mask of the buyer group 
	 */
	public static int PERMISSION_BUYER_MASK = 1;
	/**
	 * administrator user id 
	 */
	public static long USER_ADMIN_ID = 1L;
	/**
	 * administrator email
	 */
	public static String USER_ADMIN_EMAIL="admin@yishuki.com";
	/**
	 * category root id
	 */
	public static long CATEGORY_ROOT_ID=1L;
	/**
	 * every production support image numbers. 
	 */
	public static int MAX_NUMBER_OF_PRODCTION_IMAGE = 8;
	/**
	 * max image size 
	 */
	public static int MAX_IMAGE_SIZE = 512 * 1024;
	
}
